⬆️(project) upgrade python dependencies #132
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
24.4.2
->24.8.0
==24.4.2
->==24.8.0
==0.111.1
->==0.112.0
1.10.1
->1.11.1
==1.10.1
->==1.11.1
2.3.4
->2.4.0
==2.3.4
->==2.4.0
==2.8.0
->==2.9.0
8.2.2
->8.3.2
==8.2.2
->==8.3.2
0.5.2
->0.5.7
==0.5.2
->==0.5.7
==2.10.0
->==2.13.0
==70.3.0
->==72.2.0
==0.0.19
->==0.0.21
Release Notes
psf/black (black)
v24.8.0
Compare Source
Stable style
# fmt: off
is used before a closing parenthesis or bracket. (#4363)Packaging
linked. This improves the PyPI listing for Black. (#4345)
Parser
multiline string (#4339)
(#4401)
\{
inside f-strings very well (#4422)(#4423)
Performance
.gitignore
(#4415)Blackd
fastapi/fastapi (fastapi)
v0.112.0
Compare Source
Breaking Changes
pip install "fastapi[standard]"
with standard dependencies andpython -m fastapi
. PR #11935 by @tiangolo.Summary
Install with:
pip install "fastapi[standard]"
Other Changes
fastapi-cli[standard] >=0.0.5
.Technical Details
Before this,
fastapi
would include the standard dependencies, with Uvicorn and thefastapi-cli
, etc.And
fastapi-slim
would not include those standard dependencies.Now
fastapi
doesn't include those standard dependencies unless you install withpip install "fastapi[standard]"
.Before, you would install
pip install fastapi
, now you should include thestandard
optional dependencies (unless you want to exclude one of those):pip install "fastapi[standard]"
.This change is because having the standard optional dependencies installed by default was being inconvenient to several users, and having to install instead
fastapi-slim
was not being a feasible solution.Discussed here: #11522 and here: #11525
Docs
Translations
docs/pt/docs/alternatives.md
. PR #11931 by @ceb10n.docs/ru/docs/tutorial/dependencies/sub-dependencies.md
. PR #10515 by @AlertRED.docs/pt/docs/advanced/response-change-status-code.md
. PR #11863 by @ceb10n.docs/pt/docs/reference/background.md
. PR #11849 by @lucasbalieiro.docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #11848 by @Joao-Pedro-P-Holanda.docs/pt/docs/reference/apirouter.md
. PR #11843 by @lucasbalieiro.Internal
approved-1
. PR #11907 by @tiangolo.python/mypy (mypy)
v1.11.1
Compare Source
v1.11.0
Compare Source
pydantic/pydantic-settings (pydantic-settings)
v2.4.0
Compare Source
What's Changed
read_env_file
and move it toDotEnvSettingsSource
by @WarpedPixel in https://github.com/pydantic/pydantic-settings/pull/318New Contributors
Full Changelog: pydantic/pydantic-settings@v2.3.4...v2.4.0
jpadilla/pyjwt (pyjwt)
v2.9.0
Compare Source
Changed
pytest-dev/pytest (pytest)
v8.3.2
Compare Source
pytest 8.3.2 (2024-07-24)
Bug fixes
#12652: Resolve regression [conda]{.title-ref} environments where no longer being automatically detected.
-- by
RonnyPfannschmidt
{.interpreted-text role="user"}v8.3.1
Compare Source
pytest 8.3.1 (2024-07-20)
The 8.3.0 release failed to include the change notes and docs for the release. This patch release remedies this. There are no other changes.
v8.3.0
Compare Source
astral-sh/ruff (ruff)
v0.5.7
Compare Source
Preview features
flake8-comprehensions
] Account for list and set comprehensions inunnecessary-literal-within-tuple-call
(C409
) (#12657)flake8-pyi
] Add autofix forfuture-annotations-in-stub
(PYI044
) (#12676)flake8-return
] Avoid syntax error when auto-fixingRET505
with mixed indentation (space and tabs) (#12740)pydoclint
] Adddocstring-missing-yields
(DOC402
) anddocstring-extraneous-yields
(DOC403
) (#12538)pydoclint
] AvoidDOC201
if docstring begins with "Return", "Returns", "Yield", or "Yields" (#12675)pydoclint
] Deduplicate collected exceptions after traversing function bodies (DOC501
) (#12642)pydoclint
] IgnoreDOC
errors for stub functions (#12651)pydoclint
] Teach rules to understand reraised exceptions as being explicitly raised (DOC501
,DOC502
) (#12639)ruff
] Implementincorrectly-parenthesized-tuple-in-subscript
(RUF031
) (#12480)ruff
] MarkRUF023
fix as unsafe if__slots__
is not a set and the binding is used elsewhere (#12692)Rule changes
refurb
] Add autofix forimplicit-cwd
(FURB177
) (#12708)ruff
] Add autofix forzip-instead-of-pairwise
(RUF007
) (#12663)tryceratops
] AddBaseException
toraise-vanilla-class
rule (TRY002
) (#12620)Server
CLI
pyproject.toml
files (#12727)Bug fixes
flake8-async
] Fix false positives with multipleasync with
items (ASYNC100
) (#12643)flake8-bandit
] Avoid false-positives for list concatenations in SQL construction (S608
) (#12720)flake8-bugbear
] Treatreturn
as equivalent tobreak
(B909
) (#12646)flake8-comprehensions
] Set comprehensions not a violation forsum
inunnecessary-comprehension-in-call
(C419
) (#12691)flake8-simplify
] Parenthesize conditions based on precedence when merging if arms (SIM114
) (#12737)pydoclint
] Try both 'Raises' section styles when convention is unspecified (DOC501
) (#12649)v0.5.6
Compare Source
Ruff 0.5.6 automatically enables linting and formatting of notebooks in preview mode.
You can opt-out of this behavior by adding
*.ipynb
to theextend-exclude
setting.Preview features
flake8-builtins
] Implement import, lambda, and module shadowing (#12546)pydoclint
] Adddocstring-missing-returns
(DOC201
) anddocstring-extraneous-returns
(DOC202
) (#12485)Rule changes
flake8-return
] Exempt cached properties and other property-like decorators from explicit return rule (RET501
) (#12563)Server
$/logTrace
for server trace logs in Zed and VS Code (#12564)Configuration
flake8-implicit-str-concat
] Always allow explicit multi-line concatenations when implicit concatenations are banned (#12532)Bug fixes
flake8-async
] Avoid flaggingasyncio.timeout
s as unused when the context manager includesasyncio.TaskGroup
(#12605)flake8-slots
] Avoid recommending__slots__
for classes that inherit from more thannamedtuple
(#12531)isort
] Avoid marking required imports as unused (#12537)isort
] Preserve trailing inline comments on import-from statements (#12498)pycodestyle
] Add newlines before comments (E305
) (#12606)pycodestyle
] Don't attach comments with mismatched indents (#12604)pyflakes
] Fix preview-mode bugs inF401
when attempting to autofix unused first-party submodule imports in an__init__.py
file (#12569)pylint
] Respect start index inunnecessary-list-index-lookup
(#12603)pyupgrade
] Avoid recommending no-argument super inslots=True
dataclasses (#12530)pyupgrade
] Use colon rather than dot formatting for integer-only types (#12534)Other changes
v0.5.5
Compare Source
Preview features
fastapi
] Implementfastapi-redundant-response-model
(FAST001
) andfastapi-non-annotated-dependency
(FAST002
) (#11579)pydoclint
] Implementdocstring-missing-exception
(DOC501
) anddocstring-extraneous-exception
(DOC502
) (#11471)Rule changes
numpy
] Fix NumPy 2.0 rule fornp.alltrue
andnp.sometrue
(#12473)numpy
] IgnoreNPY201
insideexcept
blocks for compatibility with older numpy versions (#12490)pep8-naming
] Avoid applyingignore-names
toself
andcls
function names (N804
,N805
) (#12497)Formatter
Server
Bug fixes
Ord
implementation ofcmp_fix
(#12471)pydoclint
] Fix panic inDOC501
reported in #12428 (#12435)flake8-bugbear
] Allow singleton tuples with starred expressions inB013
(#12484)Documentation
nvim-lspconfig
(#12507)v0.5.4
Compare Source
Rule changes
ruff
] RenameRUF007
tozip-instead-of-pairwise
(#12399)Bug fixes
flake8-builtins
] Avoid shadowing diagnostics for@override
methods (#12415)flake8-comprehensions
] Insert parentheses for multi-argument generators (#12422)pydocstyle
] Handle escaped docstrings within docstring (D301
) (#12192)Documentation
output-format
default in settings reference (#12409)v0.5.3
Compare Source
Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped
documentation, including setup guides for your editor of
choice and the language server
itself.
Preview features
pyupgrade
] Implementunnecessary-default-type-args
(UP043
) (#12371)Rule changes
flake8-bugbear
] Detect enumerate iterations inloop-iterator-mutation
(B909
) (#12366)flake8-bugbear
] Removediscard
,remove
, andpop
allowance forloop-iterator-mutation
(B909
) (#12365)pylint
] Allowrepeated-equality-comparison
for mixed operations (PLR1714
) (#12369)pylint
] Ignoreself
andcls
when counting arguments (PLR0913
) (#12367)pylint
] Use UTF-8 as default encoding inunspecified-encoding
fix (PLW1514
) (#12370)Server
--preview
flag forserver
subcommand for the linter and formatter (#12208)Bug fixes
flake8-comprehensions
] Allow additional arguments forsum
andmax
comprehensions (C419
) (#12364)pylint
] Avoid dropping extra boolean operations inrepeated-equality-comparison
(PLR1714
) (#12368)pylint
] Consider expression before statement when determining binding kind (PLR1704
) (#12346)Documentation
Other changes
getsentry/sentry-python (sentry-sdk)
v2.13.0
Compare Source
Various fixes & improvements
New integration: Ray (#2400) (#2444) by @glowskir
Usage: (add the RayIntegration to your
sentry_sdk.init()
call and make sure it is called in the worker processes)For more information, see the documentation for the Ray integration.
New integration: Litestar (#2413) (#3358) by @KellyWalker
Usage: (add the LitestarIntegration to your
sentry_sdk.init()
)For more information, see the documentation for the Litestar integration.
New integration: Dramatiq from @jacobsvante (#3397) by @antonpirker
Usage: (add the DramatiqIntegration to your
sentry_sdk.init()
)For more information, see the documentation for the Dramatiq integration.
New config option: Expose
custom_repr
function that precedessafe_repr
invocation in serializer (#3438) by @sl0thentr0pySee: https://docs.sentry.io/platforms/python/configuration/options/#custom-repr
Profiling: Add client SDK info to profile chunk (#3386) by @Zylphrex
Serialize vars early to avoid living references (#3409) by @sl0thentr0py
Deprecate hub-based
sessions.py
logic (#3419) by @szokeasaurusrexDeprecate
is_auto_session_tracking_enabled
(#3428) by @szokeasaurusrexAdd note to generated yaml files (#3423) by @sentrivana
Slim down PR template (#3382) by @sentrivana
Use new banner in readme (#3390) by @sentrivana
v2.12.0
Compare Source
Various fixes & improvements
push_scope
deprecation warning (#3355) (#3355) by @szokeasaurusrexpush_scope
(#3353, #3354) by @szokeasaurusrexconfigure_scope
(#3348, #3349, #3350, #3351) by @szokeasaurusrexai_track
decorator (#3376) by @czyberadd_attachment
type (#3342) by @szokeasaurusrex0feb234
to6d2c435
(#3369) by @dependabot88273a9
to0feb234
(#3252) by @dependabotv2.11.0
Compare Source
Various fixes & improvements
Add
disabled_integrations
(#3328) by @sentrivanaDisabling individual integrations is now much easier.
Instead of disabling all automatically enabled integrations and specifying the ones
you want to keep, you can now use the new
disabled_integrations
config option to provide a list of integrations to disable:
Do not use the Flask integration even if Flask is installed.
)
pypa/setuptools (setuptools)
v72.2.0
Compare Source
v72.1.0
Compare Source
v72.0.0
Compare Source
v71.1.0
Compare Source
v71.0.4
Compare Source
v71.0.3
Compare Source
v71.0.2
Compare Source
v71.0.1
Compare Source
v71.0.0
Compare Source
tiangolo/sqlmodel (sqlmodel)
v0.0.21
Compare Source
Features
cascade_delete
,ondelete
, andpassive_deletes
. Initial PR #983 by @estebanx64.Docs
Internal
v0.0.20
Compare Source
Features
Docs
docs/tutorial/create-db-and-table.md
. PR #911 by @tfpgh.create-db-and-table-with-db-browser.md
. PR #976 by @alejsdev.docs/tutorial
. PR #943 by @luco17.sqlmodel/_compat.py
. PR #950 by @Highfire1.docs/tutorial/relationship-attributes/index.md
. PR #880 by @UncleGoogle.Internal
Configuration
📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.